package conchmusic.conchmusicclient.util;

import android.content.res.Resources;

/**
 * Created by Pan Ke on 2017/4/21.
 */

public class AddCommentCommand implements Command {

    private String commentJson;
    private Resources resources;

    public AddCommentCommand(Resources resources,String commentJson) {
        this.commentJson = commentJson;
        this.resources = resources;
    }

    @Override
    public String execute() {
        return new Executor().addComment(resources,commentJson);
    }
}
